package com.acme.bankapp.domain.bank;

/**
 * Enumeration which represents gender names
 * 
 * @author render1980
 *
 */
public enum Gender { 
	MALE("Mr."), FEMALE("Ms.");
	
	/**
	 * Gender prefix
	 * possible values: 'Mr.', 'Ms.'
	 */
	private String prefix;
	
	/**
	 * Gender constructor to determine prefix
	 * to gender
	 * @param pr
	 */
	Gender(String pr) {
		prefix = pr;
	}
	
	/**
	 * Method to get gender prefix
	 * 
	 * @return Gender prefix
	 */
	public String getPrefix() {
		return prefix;
	}
}
